home *** CD-ROM | disk | FTP | other *** search
- (set @default-dest "SYS:Prefs")
-
- (if (< (getversion "exec.library" (resident)) (* 37 65536))
- (abort "AutoStart requires Workbench 2.0 or higher")
- )
-
- (copylib
- (prompt "Copying AutoStart Preferences")
- (help "This is the Preferences program for AutoStart. It is copied to your SYS:Prefs drawer." )
- (source "Prefs/AutoStart")
- (dest "SYS:Prefs")
- (confirm)
- (infos)
- )
-
- (complete 20)
-
- (copylib
- (prompt "Copying AutoStart Program Launcher")
- (help "This launcher must be in the WbStartup drawer to launch the programs when Workbench starts." )
- (source "WbStartup/AutoStartup")
- (dest "SYS:WbStartup")
- (confirm)
- (infos)
- )
-
- (complete 40)
-
- (delete "HELP:AutoStart.guide")
-
- (set dohelp
- (askbool
- (prompt "Do you want to install the AmigaGuide documentation?")
- (help "The AmigaGuide documentation must be installed in the HELP: directory for on-line help to be available." )
- (default 1)
- )
- )
-
- (if (= dohelp 1)
- (makedir "HELP:Plus")
- )
- (if (= dohelp 1)
- (copyfiles
- (prompt "Copying AutoStart Documentation")
- (help "The HELP: assign must already exist. Under Workbench 2.1 and above, this is assigned to 'LOCALE:Help'." )
- (optional nofail)
- (source "AutoStart.guide")
- (dest "HELP:Plus")
- (confirm)
- (infos)
- )
- )
-
- (complete 80)
-
- (copylib
- (prompt "Installing systemplus.library")
- (help "This toolkit library is needed by several different utilities. ")
- (source "libs/systemplus.library")
- (dest "LIBS:")
- (confirm)
- )
-
- (makedir "SYS:Prefs/Plus")
- (rename "SYS:Prefs/AutoStart.prefs" "SYS:Prefs/Plus/AutoStart.prefs")
-
- (complete 100)